3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
Most types of lights have an attenuation value that determines how quickly, if at all, the intensity of a light changes as a function of the distance of the illuminated object from the light source. You can use these constants to specify an attenuation value:
typedef enum TQ3AttenuationType {
kQ3AttenuationTypeNone,
kQ3AttenuationTypeInverseDistance,
kQ3AttenuationTypeInverseDistanceSquared
} TQ3AttenuationType;
Previous | QD3D Book | Overview | Chapter Contents | Next |